package com.charles.springcloud.controller;

import com.charles.springcloud.service.IMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 风中灵劲草
 * @Date: 2021/08/19/16:20
 * @Description:
 */
@RestController
public class SendMessageController {

    @Autowired
    private IMessageService messageService;

    @RequestMapping("/sendMessage")
    public String sendMessage(){
        String send = messageService.send();
        return send;
    }
}
